//
//  PersonalCollectionViewCell.m
//  TextApplication
//
//  Created by dllo on 16/8/27.
//  Copyright © 2016年 yh. All rights reserved.
//

#import "PersonalCollectionViewCell.h"
#import "TAMacro.h"
@implementation PersonalCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        self.picImageView = [[UIImageView alloc] init];
        self.textLabel = [[UILabel alloc] init];
    }
    return self;
}

- (void)layoutSubviews {
    [super layoutSubviews];
    self.picImageView.frame = CGRectMake(CONTENTVIEWWIDTH / 2 - 10, 40, 20, 20);
    [self.contentView addSubview:self.picImageView];
    
    self.textLabel.frame = CGRectMake(CONTENTVIEWWIDTH / 2 - 45, 95, 90, 15);
    self.textLabel.font = [UIFont systemFontOfSize:14];
    self.textLabel.textAlignment = 1;
    [self.contentView addSubview:self.textLabel];
}

@end
